package cn.da.shuai.cool.system.model.enums.menu;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum MenuVisibleType {

    HIDDEN(0, "隐藏"),
    VISIBLE(1, "显示");

    @EnumValue
    @JsonValue
    private final Integer code;
    private final String desc;
}